import request from '@/utils/request'

//获取城市
export function getRegionList() {
  return request({
    url: '/op/region/getRegionList',
    method: 'get'
  });
}

//提交表单
export function submitForm(data) {
  return request({
    url: '/op/overSea/community/saveOrUpdate',
    method: 'post',
    data: data
  })
}

// 获取项目管理表格数据
export function getProjectList(data) {
  return request({
    url: '/op/overSeaList/getOverSeaList',
    method: 'post',
    data: data
  })
}

// 海外楼盘上下架
//获取城市
export function updateStatus(query) {
  return request({
    url: '/op/overSeaList/updateStatus',
    method: 'get',
    params: query,
  });
}
